package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Building;

/**
 * 楼栋 Service接口
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
public interface IBuildingService 
{
    /**
     * 查询楼栋 
     * 
     * @param buildingId 楼栋 主键
     * @return 楼栋 
     */
    public Building selectBuildingByBuildingId(Long buildingId);

    /**
     * 查询楼栋 列表
     * 
     * @param building 楼栋 
     * @return 楼栋 集合
     */
    public List<Building> selectBuildingList(Building building);

    /**
     * 新增楼栋 
     * 
     * @param building 楼栋 
     * @return 结果
     */
    public int insertBuilding(Building building);

    /**
     * 修改楼栋 
     * 
     * @param building 楼栋 
     * @return 结果
     */
    public int updateBuilding(Building building);

    /**
     * 批量删除楼栋 
     * 
     * @param buildingIds 需要删除的楼栋 主键集合
     * @return 结果
     */
    public int deleteBuildingByBuildingIds(Long[] buildingIds);

    /**
     * 删除楼栋 信息
     * 
     * @param buildingId 楼栋 主键
     * @return 结果
     */
    public int deleteBuildingByBuildingId(Long buildingId);
}
